package com.jsaas.common;

import com.jfinal.plugin.activerecord.dialect.Dialect;
import com.jfinal.plugin.activerecord.dialect.MysqlDialect;

/**   
* @Title: Constant.java 
* @Package com.jsaas.common 
* @Description: TODO(用一句话描述该文件做什么) 
* @author tuozq 
* @date 2017年10月26日 下午2:25:42 
* @version V1.0   
*/
public class Constant {
	
	public static final String APPLICATION_FILE_NAME = "application.properties";
	public static final String CRON4J_FILE_NAME = "cron4j.properties";
	public static final String MAIN_PAGE = "/";
	public static final String UNAUTHORIZED_URL  = "/error/to403";
	public static final String LOGIN_URL = "/login";
	public static final int SALT_SIZE = 8;
	public static final String HASHALGORITHMNAME = "SHA-1";
	public static final int HASH_ITERATIONS = 1024;
	public static final Dialect DIALECT = new MysqlDialect();
	
	public static final String COMMON_CACHE = "redis_common_cache";
	public static final String REDIS_SHIROMANAGE_CACHE = "redis_shiro_manage_cache";
	
}
